var Mock = require('mockjs')
var data = Mock.mock({
    // 属性 list 的值是一个数组，其中含有 1 到 10 个元素
    'list|5': [{
        // 属性 id 是一个自增数，起始值为 1，每次增 1
        id: "@id",
        name: '@cname',
        img: 'https://unsplash.it/400/800/?@name',
        title: '@ctitle(15,18)',
        shijian: /^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d$/
    }],
    'list2|10': [{
        // 属性 id 是一个自增数，起始值为 1，每次增 1
        id: "@id",
        name: '@cname',
        img: 'https://unsplash.it/400/800/?@name',
        title: '@ctitle(18)',
        shijian: /^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d$/,
        city:"@city",
        "danjia|300-9999": 666,

    }],
})
// console.log(data)
module.exports = {
    data
}